package com.czd.base.model;


/**
 * Created with IntelliJ IDEA.
 * Author: GuSi
 * Create: GuSi (14-7-8 16:14)
 * Description:
 * To change this template use File | Settings | File Templates.
 */
public class EnumVI {
private String value;
private int ordinal;

/**
 * @return the value
 */
public String getValue() {
	return value;
}

/**
 * @return the index
 */
public int getOrdinal() {
	return ordinal;
}

/**
 * @param value the value to set
 */
public void setValue(String value) {
	this.value = value;
}

public void setOrdinal(int ordinal) {
	this.ordinal = ordinal;
}

public EnumVI() {
}

public EnumVI(String value, int ordinal) {
	this.value = value;
	this.ordinal = ordinal;
}

@Override
public String toString() {
	return "EnumVI [value=" + value + ", ordinal=" + ordinal + "]";
}
}
